package com.jlect.swebing.renderers.client;

import com.jlect.swebing.renderers.client.Image;

/**
 * Button renderer interface
 * @author Sergey Kozmin
 * @since 10.11.2007 23:09:35
 */
public interface ButtonRenderer extends Renderer {
    /**
     * Could be called at once per renderers life because of performance reasons.
     * @param text button's text. should be set to null, if button  doesn't contain any
     */
    public void setText(String text);
    public void setIcon(Image image);

    public void setActionListener(RendererActionListener listener);
}